package ink.onei.parse.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import ink.onei.common.core.annotation.Excel;
import ink.onei.common.core.web.domain.BaseEntity;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * @Author: dang
 * @Description: TODO
 * @Date: 2024/3/16 8:55 星期六
 */
@EqualsAndHashCode
@ExcelIgnoreUnannotated
public class TdRawWaterType extends BaseEntity {
    private static final long serialVersionUID = 1L;


    /** 主键 */
    @ExcelIgnore
    private Long id;



    @ExcelProperty("日期")
    @DateTimeFormat("yyyy-MM-dd")
    private String date;

    @ExcelProperty("时间")
    @DateTimeFormat("HH:mm:ss")
    private String time;

    /** 原料水id */
    @ExcelIgnore
    @Excel(name = "原料水id")
    private Long rawWaterId;

    /** 类型 原料表数据类型三种类型 */
    @Excel(name = "类型 原料表数据类型三种类型")
    @ExcelIgnore
    private String type;

    /** pH */
    @ExcelProperty("pH")
    @Excel(name = "pH")
    private BigDecimal pH;

    /** SS */
    @ExcelProperty("SS")
    @Excel(name = "SS")
    private BigDecimal SS;

    /** 氨氮 */
    @ExcelProperty("氨氮")
    @Excel(name = "氨氮")
    private BigDecimal nh3N;

    /** 总氮 */
    @ExcelProperty("总氮")
    @Excel(name = "总氮")
    private BigDecimal TN;

    /** COD */
    @ExcelProperty("COD")
    @Excel(name = "COD")
    private BigDecimal COD;

    /** BOD */
    @ExcelProperty("BOD")
    @Excel(name = "BOD")
    private BigDecimal BOD;

    /** 硫氰酸根 */
    @ExcelProperty("硫氰酸根")
    @Excel(name = "硫氰酸根")
    private BigDecimal thiocyanate;

    /** 硫化物 */
    @ExcelProperty("硫化物")
    @Excel(name = "硫化物")
    private BigDecimal sulfide;

    /** 挥发酚 */
    @ExcelProperty("挥发酚")
    @Excel(name = "挥发酚")
    private BigDecimal volatilepHenols;

    /** 碱度 */
    @ExcelProperty("碱度")
    @Excel(name = "碱度")
    private BigDecimal ALK;

    /** 氯离子 */
    @ExcelProperty("氯离子")
    @Excel(name = "氯离子")
    private BigDecimal CI;

    /** 石油类 */
    @ExcelProperty("石油类")
    @Excel(name = "石油类")
    private BigDecimal petroleum;

    /** 苯 */
    @ExcelProperty("苯")
    @Excel(name = "苯")
    private BigDecimal benzene;

    /** 多环芳烃 */
    @ExcelProperty("多环芳烃")
    @Excel(name = "多环芳烃")
    private BigDecimal PAH;

    /** 苯并芘 */
    @ExcelProperty("苯并芘")
    @Excel(name = "苯并芘")
    private BigDecimal BaP;

    /** 总氰 */
    @ExcelProperty("总氰")
    @Excel(name = "总氰")
    private BigDecimal TC;

    /** 创建人 */
    @Excel(name = "创建人")
    @ExcelIgnore
    private Long createUser;

    /** 更新人 */
    @Excel(name = "更新人")
    @ExcelIgnore
    private Long updateUser;

    /** 删除标志 0代表未删除 */
    @Excel(name = "删除标志 0代表未删除")
    @ExcelIgnore
    private Integer isDeleted;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }
    public void setRawWaterId(Long rawWaterId) {
        this.rawWaterId = rawWaterId;
    }

    public Long getRawWaterId() {
        return rawWaterId;
    }
    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }
    public void setpH(BigDecimal pH) {
        this.pH = pH;
    }

    public BigDecimal getpH() {
        return pH;
    }
    public void setSS(BigDecimal SS) {
        this.SS = SS;
    }

    public BigDecimal getSS() {
        return SS;
    }
    public void setNh3N(BigDecimal nh3N) {
        this.nh3N = nh3N;
    }

    public BigDecimal getNh3N() {
        return nh3N;
    }
    public void setTN(BigDecimal TN) {
        this.TN = TN;
    }

    public BigDecimal getTN() {
        return TN;
    }
    public void setCOD(BigDecimal COD) {
        this.COD = COD;
    }

    public BigDecimal getCOD() {
        return COD;
    }
    public void setBOD(BigDecimal BOD) {
        this.BOD = BOD;
    }

    public BigDecimal getBOD() {
        return BOD;
    }
    public void setThiocyanate(BigDecimal thiocyanate) {
        this.thiocyanate = thiocyanate;
    }

    public BigDecimal getThiocyanate() {
        return thiocyanate;
    }
    public void setSulfide(BigDecimal sulfide) {
        this.sulfide = sulfide;
    }

    public BigDecimal getSulfide() {
        return sulfide;
    }
    public void setVolatilepHenols(BigDecimal volatilepHenols) {
        this.volatilepHenols = volatilepHenols;
    }

    public BigDecimal getVolatilepHenols() {
        return volatilepHenols;
    }
    public void setALK(BigDecimal ALK) {
        this.ALK = ALK;
    }

    public BigDecimal getALK() {
        return ALK;
    }
    public void setCI(BigDecimal CI) {
        this.CI = CI;
    }

    public BigDecimal getCI() {
        return CI;
    }
    public void setPetroleum(BigDecimal petroleum) {
        this.petroleum = petroleum;
    }

    public BigDecimal getPetroleum() {
        return petroleum;
    }
    public void setBenzene(BigDecimal benzene) {
        this.benzene = benzene;
    }

    public BigDecimal getBenzene() {
        return benzene;
    }
    public void setPAH(BigDecimal PAH) {
        this.PAH = PAH;
    }

    public BigDecimal getPAH() {
        return PAH;
    }
    public void setBaP(BigDecimal BaP) {
        this.BaP = BaP;
    }

    public BigDecimal getBaP() {
        return BaP;
    }
    public void setTC(BigDecimal TC) {
        this.TC = TC;
    }

    public BigDecimal getTC() {
        return TC;
    }
    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Long getCreateUser() {
        return createUser;
    }
    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public Long getUpdateUser() {
        return updateUser;
    }
    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }
    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("date", getDate())
                .append("time", getTime())
                .append("rawWaterId", getRawWaterId())
                .append("type", getType())
                .append("pH", getpH())
                .append("SS", getSS())
                .append("nh3N", getNh3N())
                .append("TN", getTN())
                .append("COD", getCOD())
                .append("BOD", getBOD())
                .append("thiocyanate", getThiocyanate())
                .append("sulfide", getSulfide())
                .append("volatilepHenols", getVolatilepHenols())
                .append("ALK", getALK())
                .append("CI", getCI())
                .append("petroleum", getPetroleum())
                .append("benzene", getBenzene())
                .append("PAH", getPAH())
                .append("BaP", getBaP())
                .append("TC", getTC())
                .append("remark", getRemark())
                .append("createUser", getCreateUser())
                .append("createTime", getCreateTime())
                .append("updateUser", getUpdateUser())
                .append("updateTime", getUpdateTime())
                .append("isDeleted", getIsDeleted())
                .toString();
    }
}
